﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGServer
{
    public class RPGNET_RESPONSE
    {
        public const byte LOGIN = 0x01;
        public const byte LOGOUT = 0x02;
        public const byte CREATEOBJECT = 0x03;
        public const byte DELETEOBJECT = 0x04;
        public const byte SWITH_MAP = 0x05;
        public const byte MOVEOBJECT = 0x06;

        /// <summary>
        /// get object list in map range
        /// </summary>
        public const byte GOLIMR = 0x07;

        /// <summary>
        /// fight action
        /// </summary>
        public const byte FA = 0x11;
    }

    public class RPGNET_RESPONSE_ERROR
    {
        /// <summary>
        /// 没有错误
        /// </summary>
        public const byte NOERROR = 0x01;
        /// <summary>
        /// 未知错误
        /// </summary>
        public const byte UNKNOWN = 0xFF;
    }
}
